<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="cn.com.zzz.pk.dto.PkAccInfo"%>
<%@ include file="../../head.jsp"%>
<%	
	List<PkAccInfo> accInfoList = (List<PkAccInfo>)request.getAttribute("accList");
%>
<html>
<head>
<link rel="stylesheet" href="<%=webBackPath %>css/common.css" type="text/css"/>
<script type="text/javascript" src="<%=webBackPath %>js/calendar.js"></script> 
<script type="text/javascript" src="<%=webBackPath %>js/lib/public.js"></script>
<script type="text/javascript" src="<%=webBackPath %>js/prototype-1.6.0.3.js"></script> 
<script type="text/javascript" src="<%=webBackPath %>js/jquery-1.4.2.min.js"></script> 
<script type="text/javascript" src="<%=webBackPath %>js/json.js"></script> 
<script type="text/javascript" src="<%=webBackPath %>js/lib/public.js"></script> 
<script type="text/javascript" src="<%=webBackPath %>js/lib/md5.js"></script> 
<script language='javascript'>
/**
* 提交
*/
function deleteByAccNo(accNo){
	var form = document.editFrom;
	form.accNo.value = accNo;
	form.submit();
}

</script>
</head>
<body>

<div id="man_zone">

    <table width="70%" border="1" align="center"  cellpadding="3" cellspacing="1">
	<tr class="list_tilte_table" style="text-align: center;">
      <td><bbsh:BBSH name="账号"/></td>
      <td><bbsh:BBSH name="账户名"/></td>
      <td><bbsh:BBSH name="开户地址"/></td>
      <td><bbsh:BBSH name="操作"/></td>
    </tr>
    <% for (int i = 0; i < accInfoList.size(); i++) {
    	PkAccInfo accInfo = accInfoList.get(i);
     %>
    <tr style="text-align: center;">
      <td><%=accInfo.getAccNo() %></td>
      <td><%=accInfo.getAccName() %></td>
      <td><%=accInfo.getBrachName() %></td>
      <td><a href="javascript:deleteByAccNo('<%=accInfo.getAccNo() %>');"><bbsh:BBSH name="删除"/></a></td>
    </tr>
    <% } %>
  </table>
</div>
   <form name="editFrom" action="<%=webAppPath %>accInfo.pk" method="post">
	   <input type="hidden" name="updateFlag" value="deleteAccInfo"> 
	   <input type="hidden" name="accNo" value=""> 
   </form>
</body>
</html>
